<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>省运管记录</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../xbr_layui_extend/layui-v2.6.8/css/layui.css">

</head>
<body>
<!--数据表格-->
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">TMS-JSON 上传数据包</div>
                <div class="layui-card-body" >
                    <pre id="jsonRenderer"></pre>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="../../../xbr_layui_extend/layui-v2.6.8/layui.js"></script>
<script>
    function child(jsonContent) {
        layui.extend({
            admin: '/platform/xbr_layui_extend/admin' //集成路径
        }).use(["admin",'jsonViewer'], function () {
            const $ = layui.$,jsonViewer=layui.jsonViewer;
            try {
                jsonViewer.evalJson($("#jsonRenderer"),jsonContent);
            } catch (error) {
                return alert("Cannot eval JSON: " + error);
            }
        });
    }
</script>
</body>
</html>